import request from "@/utils/request.js"
//登录
export function userLogin(data) {
    return request({
        url: "/api/v1/welder-sbtx-second/user-account-comb/app-login",
        method: 'post',
        data: data
    })
}
// 获取用户信息
export function getInfo(userId) {
    return request({
      url: '/api/v1/welder-sbtx-second/user-information-comb/showByUseridx/' + userId,
      method: 'post',
      data: {
        d: {
          'fields': [
            {
              'name': 'roleList'
            }
          ]
        }
      }
    })
  }